package JavaBasis;

public class HomeWork03 {
	public static void main(String[] args){
		int num = 0;
		int sum = 0;
		
		while (num <= 100){
			num++;
			if (num % 2 == 1){
				sum = sum + num;
			}
		}
		
		System.out.println("sum="+sum);
	}
}
